# MSYS2 maintainer: matoro <matoro@airmail.cc>
# Arch maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>

pkgname=vifm
pkgver=0.10.1
pkgrel=1
pkgdesc="Ncurses based file manager with vi like keybindings"
arch=('i686' 'x86_64')
url="https://vifm.info/"
license=('GPL')
depends=('ncurses')
makedepends=('ncurses-devel')
source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b')

build() {
   cd "${srcdir}"/${pkgname}-${pkgver}
   ./configure --prefix=/usr --sysconfdir=/etc
   make
}

package() {
   cd "${srcdir}"/${pkgname}-${pkgver}
   make DESTDIR="${pkgdir}" install
}
